package com.xue.apiautoframework.testcase;
import com.xue.apiautoframework.basecase.BaseCase;
import com.xue.apiautoframework.constant.API;
import com.xue.apiautoframework.constant.Cases;
import com.xue.apiautoframework.utils.ExcelUtils;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

public class UserCase extends BaseCase {

    @Test(dataProvider = "data", description = "添加用户测试用例")
    public void testAddUser(API api, Cases cases){

    }

    @DataProvider(name= "data")
    public Object[][] provideData(){
        return ExcelUtils.getApiAndCasesByApiId("1");
    }
}
